@font-face {
  font-family: 'PingFang Medium';
  src: url('@/assets/fonts/PingFang Medium.ttf') format('truetype');
}

ul,
li {
  margin: 0;
  padding: 0;
  list-style: disc;
}

.btn-style{
  color: #ffffff;
  background: linear-gradient(to bottom, #ce74df, #00ddd6);
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;

  &:hover {
    box-shadow: 0 4px 12px rgba(206, 116, 223, 0.4);
    transform: translateY(-2px);
  }

  &::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, #ce74df, #00ddd6);
    border-radius: 0 0 2rem 2rem;
    transform: scaleY(-1);
    opacity: 0.3;
    mask: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    -webkit-mask: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  }
}

.color-main {
  color: #D1060F;
}

.color-ff {
  color: #fff;
}

.color-33 {
  color: #333334;
}

.bg-main {
  background: #D1060F;
}

.bg-ff {
  background: #fff;
}

/* ==================
  字体大小
 ==================== */
.font-12 {
  font-size: 12px;
}

.font-13 {
  font-size: 13px;
}

.font-14 {
  font-size: 14px;
}

.font-15 {
  font-size: 15px;
}

.font-16 {
  font-size: 16px;
}

.font-17 {
  font-size: 17px;
}

.font-18 {
  font-size: 18px;
}

.font-20 {
  font-size: 20px;
}

.font-22 {
  font-size: 22px;
}

.font-24 {
  font-size: 24px;
}


.font-26 {
  font-size: 26px;
}

.font-28 {
  font-size: 28px;
}

/* ==================
  外边距
 ==================== */
.margin-14 {
  margin: 14px;
}

.margin-top-2 {
  margin-top: 2px;
}

.margin-top-4 {
  margin-top: 4px;
}

.margin-top-8 {
  margin-top: 8px;
}

.margin-top-10 {
  margin-top: 10px;
}

.margin-top-14 {
  margin-top: 14px;
}

.margin-top-16 {
  margin-top: 16px;
}

.margin-top-20 {
  margin-top: 20px;
}

.margin-top-24 {
  margin-top: 24px;
}

.margin-top-30 {
  margin-top: 30px;
}

.margin-top-40 {
  margin-top: 40px;
}

.margin-top-120 {
  margin-top: 120px;
}

.margin-left-8 {
  margin-left: 8px;
}

.margin-left-14 {
  margin-left: 14px;
}

.margin-left-20 {
  margin-left: 20px;
}

.margin-right-10 {
  margin-right: 10px;
}

.margin-right-20 {
  margin-right: 20px;
}

.margin-bottom-4 {
  margin-bottom: 4px;
}

.margin-bottom-10 {
  margin-bottom: 10px;
}

.margin-bottom-14 {
  margin-bottom: 14px;
}

.margin-bottom-24 {
  margin-bottom: 24px;
}

.margin-bottom-30 {
  margin-bottom: 30px;
}

.margin-bottom-40 {
  margin-bottom: 40px;
}

.margin-lr-6 {
  margin-left: 6px;
  margin-right: 6px;
}

.margin-lr-14 {
  margin-left: 14px;
  margin-right: 14px;
}

.margin-lr-20 {
  margin-left: 20px;
  margin-right: 20px;
}

.margin-lr-30 {
  margin-left: 30px;
  margin-right: 30px;
}



/* ==================
   内边距
  ==================== */
.padding-14 {
  padding: 14px;
}

.padding-bottom-12 {
  padding-bottom: 12px;
}

.padding-bottom-20 {
  padding-bottom: 20px;
}

.padding-lr-10 {
  padding-left: 10px;
  padding-right: 10px;
}

.padding-lr-12 {
  padding-left: 12px;
  padding-right: 12px;
}

.padding-lr-14 {
  padding-left: 14px;
  padding-right: 14px;
}

.padding-tb-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.padding-tb-16 {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* ==================
  flex弹性布局
 ==================== */
.flex {
  display: -webkit-flex;
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.align-center {
  align-items: center;
}

.align-stretch {
  align-items: stretch;
}

.self-start {
  align-self: flex-start;
}

.self-center {
  align-self: flex-center;
}

.self-end {
  align-self: flex-end;
}

.self-stretch {
  align-self: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.basis-10 {
  flex-basis: 10%;
}

.basis-20 {
  flex-basis: 20%;
}

.basis-30 {
  flex-basis: 30%;
}

.basis-40 {
  flex-basis: 40%;
}

.basis-50 {
  flex-basis: 50%;
}

.basis-60 {
  flex-basis: 60%;
}

.basis-70 {
  flex-basis: 70%;
}

.basis-80 {
  flex-basis: 80%;
}

.flex-one {
  flex: 1;
}

.flex-two {
  flex: 2;
}

.flex-three {
  flex: 3;
}


/* ==================
  文本(colorui后续补充)
 ==================== */
.word-nowrap {
  white-space: nowrap;
}

.text-cut-one {
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.text-cut-two {
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.text-cut-three {
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.text-cut-four {
  text-overflow: ellipsis;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.text-through {
  text-decoration: line-through;
}

.text-underline {
  text-decoration: underline;
}

.text-bold {
  font-weight: bold;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.position-relative {
  position: relative;
}

/* ldt add */
.img_box {
  display: block;
  width: 100%;
}

.text-html-box img {
  max-width: 100%;
}


/*布局样式*/
.route_path {
  margin-bottom: 30px;
}
.a-pointer {
  cursor: pointer;
}

.route_path_name {
  height: 40px;
  line-height: 40px;
}


.header-xian {
  height: 2px;
  background: #D1060F;
}

.header-radius {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D1060F;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.text_ellipsis_2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
}

.text_ellipsis_3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
}

.page_style_one_box {
  display: block;
  width: 228px;
  height: 122px;
  border-radius: 5px;
}

.page_style_one_img {
  display: block;
  width: 228px;
  height: 122px;
  border-radius: 5px;
}

.page_style_one_text {
  margin-left: 20px;
  width: 70%;
}

.page_style_one_title {
  height: 35px;
  font-size: 16px;
}

.page_style_one_content {
  height: 60px;
  font-size: 13px;
  color: #898989;
}

.page_style_one_date {
  height: 30px;
  line-height: 30px;
  font-size: 13px;
  color: #6A6B6B;
}

.page_style_two_box{
  width: 35%;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
}

.page_style_two_img {
  display: block;
  width: 100%;
  height: 100%;
}

.page_style_two_text {
  width: 65%;
  margin-left: 20px;
}

.page_style_two_title {
  height: 50px;
  line-height: 25px;
  font-size: 16px;
}

.page_style_two_date {
  height: 30px;
  line-height: 40px;
  font-size: 13px;
  color: #6A6B6B;
}


.pagination-box {
  text-align: center;
  margin: 30px 0;
}

.detail_model_header {
  margin-bottom: 30px;
}

.detail_model_header {
  margin-bottom: 20px;
}

.detail_model_header_more_text {
  color: #000000
}

.detail_model_header_more_img {
  height: 14px;
  margin-left: 5px;
  display: block;
}

.box_shadow {
  box-shadow: 0 0 8px rgba(33, 46, 111, 0.1);
  padding: 15px;
  border-radius: 5px;
}

iframe {
  vertical-align: middle;
}

.top_common {
  display: block;
}

.share_common {
  display: block;
}

.top_hover {
  display: none;
}

.share_hover {
  display: none;
}

.widgets_top:hover .top_common {
  display: none;
}

.widgets_top:hover .top_hover {
  display: block;
}

.widgets_share:hover .share_common {
  display: none;
}

.widgets_share:hover .share_hover {
  display: block;
}

.widgets_share:hover .qr-container {
  display: block;
}

.qr-container {
  display: none;
  position: absolute;
  top: 50px;
  right: 40px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 5px;
}

.qr-img-box {
  position: relative;
}

.qr-img {
  width: 118px;
  height: 118px;
  display: block;
}

.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 30%;
  /* 调整Logo大小 */
  max-height: 30%;
}

.swiper-button-prev,
.swiper-button-next {
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 10px;
}

.swiper-container:hover .swiper-button-prev,
.swiper-container:hover .swiper-button-next {
  opacity: 1;
}

.swiper-container .swiper-pagination {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
  line-height: 26px;
  text-align: right;
  font-style: normal;
  text-transform: none;
  padding-right: 20px;
}

.swiper-poster-container {
  width: 260px;
  height: 350px;
  margin-top: 80px;
}


.poster_base {
  width: 300px;
  height: 60px;
  font-size: 16px;
  margin: 0 auto;
  position: relative;
  color: #ffffff;
  padding: 8px 15px 0;
  background: linear-gradient(to bottom right, #d7000f 40%, #ffa069 100%);
}

.triangle_left {
  position: absolute;
  left: 8px;
  top: -20px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-left: 15px solid #990b12;
  border-bottom: 15px solid transparent;
  transform: rotate(45deg);
}

.triangle_right {
  position: absolute;
  right: 8px;
  top: -19px;
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-left: 14px solid #990b12;
  border-bottom: 14px solid transparent;
  transform: rotate(135deg);
}

.banner_poster_img {
  display: block;
  width: 100%;
  height: 100%;
}

.banner_bottom_img {
  display: block;
  width: 100%;
}

.banner_ad_img {
  display: block;
  width: 100%;
  height: 130px;
}

.richtext h1,
.richtext h2,
.richtext h3,
.richtext h4 {
  text-align: center;
  font-weight: 500;
  line-height: 2;
  color: #000000;
}

.richtext{
  margin-bottom: 30px;
}

.rich_header{
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
  color: #000000;
}

.rich_subtitle{
  font-size: 13px;
  color: #6A6B6B;
  margin-bottom: 30px;
}

.richtext p {
  text-indent: 2em;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 20px;
  color: #000000;
}

.richtext img {
  display: block;
  max-width: 80%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.no_content {
  padding-top: 80px;
  padding-bottom: 80px;
}

.no_content img {
  width: 200px;
  display: block;
  margin: 0 auto;
}

.no_content .no_text {
  color: #9CA5AD;
}

.list_img_box {
  overflow: hidden;
  border-radius: 5px;
}

.all_img {
  transition: all 0.3s;
}

.list_img_box:hover .all_img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  -ms-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}

/*
  公共组件样式
*/

.no-image {
  //background: linear-gradient(135deg, #6a89cc 0%, #4a69bd 100%);
  background: linear-gradient(135deg, #6dc3ae 0%, #4ab69c 100%);
  color: white;
  height: 150px;
  line-height: 150px;
  transition: transform 0.3s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 5px;
  text-align: center;
}

.no-image span {
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
}

.default-image {
  background: linear-gradient(135deg, #6dc3ae 0%, #4ab69c 100%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  height: 140px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.default-image span {
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
}

.default-image .icon-none {
  width: 30px;
}


// 加载状态
.loading-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px 20px;
  color: #64748b;

  .loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f1f5f9;
    border-top: 3px solid #bb36c3;
    border-radius: 50%;
    animation: loadingSpin 1s linear infinite;
    margin-bottom: 12px;
  }

  .loading-text {
    font-size: 14px;
  }
}

// 到底提示
.end-tip {
  grid-column: 1 / -1;
  text-align: center;
  padding: 20px;
  color: #94a3b8;
  font-size: 14px;
}

// 空状态
.empty-state {
  padding-top: 150px;
  color: #94a3b8;
  font-size: 16px;
  text-align: center;
}

// 加载动画
@keyframes loadingSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
